package com.jxs.android.sxyw;

import android.os.Bundle;
import android.widget.TextView;

import com.jxs.android.sxyw.weiget.TopBar;

public class DescriptionDetail extends AbstractActivity {
	private TextView descEditText;
	private TopBar topBar;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		initTopBar(savedInstanceState, R.layout.decription_detail);
		descEditText = ((TextView) findViewById(R.id.decription_detail));

		if (null != getIntent() && null != getIntent().getExtras()) {
			descEditText.setText(getIntent().getExtras().getString("desc"));
			topBar.setTitle(getIntent().getExtras().getString("title"));
		}
	}

	@Override
	public void topBarLogic(TopBar topBar1) {
		this.topBar = topBar1;
		topBar.hindBtn();
		topBar.setTitle("经纬度信息");
		initTopBarReturn(topBar);
	}

}
